package com.example.demo.hystrix;

import org.springframework.stereotype.Service;
import java.util.*;
@Service
public class CourseService {

    public String getCourse() throws InterruptedException {
        Map<String,Object> map= new HashMap<>(32);
        Thread.sleep(3000L);
        return "get course success.";
    }
}
